package com.qiaomengapp.service;

import java.util.List;
import com.qiaomengapp.bean.ProviderGood;
import com.qiaomengapp.exception.CustomException;

public interface IProvideGoodService {
	List<ProviderGood> select_ProviderGood() throws CustomException;
	
	List<ProviderGood> select_mohu(String goodDesc);
	
	List<ProviderGood> select_BySaleCount() throws CustomException;
	
	List<ProviderGood> select_ByCommission() throws CustomException;
	
	List<ProviderGood> select_ByPrice() throws CustomException;
	
	void update_sumadd(int a,int id) throws CustomException;
	
	void update_sumreduce(int a,int id) throws CustomException;
	
	void update_salecount_add(int a,int id) throws CustomException;
	
	void update_salecount_reduce(int a,int id) throws CustomException;
	
	ProviderGood select_ProviderGoodbyId(int id)throws CustomException;
}
